package org.lennon.util;

import java.util.PropertyResourceBundle;
import java.util.ResourceBundle;


public class StringUtil {
	public static PropertyResourceBundle getProperties(String fileName) {
		return (PropertyResourceBundle) ResourceBundle.getBundle(fileName);
	}

	public static String getProperties(String baseName, String key) {
		return getProperties(baseName).getString(key);
	}
}
